body {
    background-color: #f5f5f5;
    /* display: flex; */
}
.form-container {
    width: 400px;
    margin: auto ;
    /* border-style: none; */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    background-color: #ffffff;
}

#form-title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 30px;
    text-align: center;
}



label {
    font-size: 14px;
    font-weight: 600;
    color: #555555;
    margin-bottom: 8px;
}
.required {
    color: #ff0000;
}
.input-box {
    width: 95%;
    height: 42px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    color: #333333;
    
}

/* 配置输入框占位符颜色 */
.input-box::placeholder {
    color: #999999;
}

.input-box:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76,175,80,0.2);
}
.input-box.error {
        border-color: #f44336;
    box-shadow: 0 0 0 2px rgba(244,67,54,0.2);
}
.input-box.success {
    border-color: #4CAF50;
}

.error-message {
    font-size: 12px;
    color: #f44336;
    margin-top: 5px;
    min-height: 15px;
}

.input-submit {
    width: 100%;
    height: 48px;
    background-color: #4CAF50;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
}
.input-submit:hover {
    background-color: #45a049;
}
.input-submit:disabled {
    background-color: #cccccc;
}